﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 商品套餐明细
    /// </summary>
    public partial class corecmsfoodpackdetail
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public Int32 storeId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodId")]
        public Int64 foodId { get; set; }

        /// <summary>
        /// 商品规格Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodSpecId")]
        public Int64 foodSpecId { get; set; }

        /// <summary>
        /// 加料id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "packId")]
        public Int64 packId { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "quantity")]
        public Decimal quantity { get; set; }

        /// <summary>
        /// 套餐执行单价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "setPrice", IsNullable = true)]
        public Decimal? setPrice { get; set; }

        /// <summary>
        /// 加价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "addPrice", IsNullable = true)]
        public Decimal? addPrice { get; set; }

        /// <summary>
        /// 减价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "cutPrice", IsNullable = true)]
        public Decimal? cutPrice { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = true)]
        public Boolean? isDelete { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sort", IsNullable = true)]
        public Int32? sort { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }
    }
}